fetcher: Rework API to use strings for tls keys/db
authorColin Walters <walters@verbum.org>
Mon, 9 Jan 2017 15:02:19 +0000 (10:02 -0500)
committerAtomic Bot <atomic-devel@projectatomic.io>
Thu, 19 Jan 2017 10:47:15 +0000 (10:47 +0000)
commite6952de3d67f8b9896cb15ffa31f50b4e0758714
tree3d03f65a63f37d02cbe4108c5de17243e46eeb30
parentb28b785f01b364baac709e87f99fe2ce20c7914e
fetcher: Rework API to use strings for tls keys/db

This is prep for the libcurl porting. `GTlsCertificate/GTlsDatabase` are
abstract classes implemented in glib-networking for gnutls. curl's APIs take
file paths as strings, so it's easier to work on both if we move the GLib TLS
bits into the libsoup code.

Closes: #651
Approved by: giuseppe
src/libostree/ostree-fetcher.c
src/libostree/ostree-fetcher.h
src/libostree/ostree-repo-pull.c
src/libostree/ostree-tls-cert-interaction.c
src/libostree/ostree-tls-cert-interaction.h